/* 
    封装一个自定义的按钮软件件
*/

export default {
    data(){
        return{
            count: 0
        }
        
    },

    template:`
    <div>
        
        <button @click = "count++">点我一下</button><span>点了{{count}}下</span>
    </div>
    
    `
}